package com.hb.core.pojo.project.opening.dto;

import com.hb.core.pojo.OrganizeInfo;
import com.hb.core.pojo.project.opening.entity.OpeningBidInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 开标记录表DTO
 *
 * @author Lix1ang
 * @date 2022-1-14 10:29:55
 */
@Data
public class OpeningBidInfoDTO extends OpeningBidInfo {

    @ApiModelProperty(value = "监标人姓名")
    private String supervisorName;

    @ApiModelProperty(value = "主持人姓名")
    private String hostName;

    /**
     * 采购组织形式为自行招标时
     * 当前登录用户是采购人同时也是代理机构
     * 采购组织形式为委托招标时
     * 当前登录用户为代理机构, 需要选择招标人信息
     * 该字段关联系统中的机构信息库中的所有招标人
     */
    @ApiModelProperty(value = "采购单位(招标单位)")
    private OrganizeInfo biddingOrganizeInfo;

    @ApiModelProperty(value = "代理机构")
    private OrganizeInfo agencyOrganizeInfo;

    @ApiModelProperty(value = "解密时长(分钟)")
    private Integer decryptionTime;

    @ApiModelProperty(value = "签字时长(分钟)")
    private Integer signTime;

    @ApiModelProperty(value = "开标大厅初始化用的状态类型")
    private Integer infoType;

    @ApiModelProperty(value = "开标大厅初始化用的消息提醒")
    private String typeName;
}
